/**   
  *@Title: TreeView.java 
  *@Package com.org.framework.vo 
  *@Description: TODO(用一句话描述该文件做什么) 
  *@author 123774135@qq.com   
  *@date 2017年2月2日 下午8:44:56 
  *@version V1.0   
  */
package com.bicon.base.data.common.vo;

import java.util.List;

import com.google.common.collect.Lists;

/** 
 *@ClassName: TreeView 
 *@Description: TODO(这里用一句话描述这个类的作用) 
 *@author 123774135@qq.com 
 *@date 2017年2月2日 下午8:44:56  
 */
public class TreeView implements java.io.Serializable{

	/** 
	  *@Fields serialVersionUID : TODO(用一句话描述这个变量表示什么) 
	  */ 
	private static final long serialVersionUID = 1L;
	
	private int id;
	
	private String text;
	
	private String classes = "important";
	
	private boolean expanded = true;
	
	private int pid;
	
	private List<TreeView> children = Lists.newArrayList();

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getClasses() {
		return classes;
	}

	public void setClasses(String classes) {
		this.classes = classes;
	}

	public boolean isExpanded() {
		return expanded;
	}

	public void setExpanded(boolean expanded) {
		this.expanded = expanded;
	}

	public int getPid() {
		return pid;
	}

	public void setPid(int pid) {
		this.pid = pid;
	}

	public List<TreeView> getChildren() {
		return children;
	}

	public void setChildren(List<TreeView> children) {
		this.children = children;
	}

	@Override
	public String toString() {
		return "TreeView [id=" + id + ", text=" + text + ", classes=" + classes
				+ ", expanded=" + expanded + ", pid=" + pid + ", children="
				+ children + "]";
	}
	
	

}
